package cn.stylefeng.guns.modular.wx;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;

import javax.servlet.http.HttpServletResponse;

import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import cn.stylefeng.roses.core.base.controller.BaseController;

/**
 *微信控制器
 */
@Controller
public class weChatController extends BaseController{
	
	@RequestMapping("/oPQscvnS9r.txt")
	public void oPQscvnS9r(HttpServletResponse response) {
		response.setContentType("text/html");
		try {
			Resource resource = new ClassPathResource("oPQscvnS9r.txt");
			BufferedReader br = new BufferedReader(new InputStreamReader(resource.getInputStream()));
			PrintWriter writer = response.getWriter();
			writer.write(br.readLine());
			writer.flush();
			writer.close();
		} catch (Exception e) {
			e.printStackTrace();
		}
		
	}


}
